import React, { useState } from 'react';
import ReactDOM from 'react-dom/client';

import './index.css'

const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);


function App() {

  const [count, setCount] = useState(100)

  return <>
    <button onClick={() => {
      setCount(count + 1)
    }}>{count}</button>
  </>
}

root.render(
  <App />
);